package com.yupi.usercenter.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 云路供应链科技有限公司 版权所有 © Copyright 2020
 * <p>
 * 监控工单记录
 *
 * @author jiweiyu
 * @version 1.0.0
 * @date Created in 2021-03-05
 */
@Getter
@Setter
@ToString
//(value="MonitorWoLog对象", description="监控工单记录")
public class MonitorWoLog {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    private Long id;


    /**
     * 是否启用（1=启用，2=不启用）
     */
    private Integer isEnable;

    /**
     * 是否删除（1=未删除，2=已删除）
     */
    private Integer isDelete;

    /**
     * 创建人ID
     */
    private Long createBy;

    /**
     * 创建人名称
     */
    private String createByName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;

//    @ApiModelProperty(value = "问题件工单id")
    private Long workOrderId;

    //(value = "流向节点id")
    private Integer toNetworkId;

    //(value = "流向节点编码")
    private String toNetworkCode;

    //(value = "流向节点名称")
    private String toNetworkName;

    //(value = "流向节点类型 1申报网点 2申报网点代理区 3责任网点 4责任网点代理区 5总部")
    private Integer toNetworkType;

    //(value = "操作节点id")
    private Integer fromNetworkId;

    //(value = "操作节点code")
    private String fromNetworkCode;

    //(value = "操作节点name")
    private String fromNetworkName;

    //(value = "操作节点类型 1申报网点 2申报网点代理区 3责任网点 4责任网点代理区 5总部")
    private Integer fromNetworkType;

    //(value = "操作类型(1-提交，2-审核，3-撤销，4-驳回，5-结案，6-申诉，7-请求重审，8-请求介入，9-申报 ,12-总部撤销(罚款清零)),13-出帐")
    private Integer operationType;

    //(value = "问题件一级类型编码")
    private String problemTypeCode;

    //(value = "问题件类型名称")
    private String problemTypeName;

    //(value = "问题件二级类型编码")
    private String problemTypeSubjectCode;

    //(value = "问题件二级类型名称")
    private String problemTypeSubjectName;

    //(value = "惩罚金额")
    private BigDecimal penaltyAmount;

    //(value = "奖励金额")
    private BigDecimal awardAmount;

    //(value = "补贴金额变更")
    private BigDecimal subsidyAmount;

    //(value = "手续费金额变更")
    private BigDecimal handlingFee;

    //(value = "问题件附件")
    private String problemPieceAttachment;

    //(value = "举证附件变更 [{\"name\":\"\",\"path\":\"\"}]")
    private String proofAttachment;

    //(value = "处理意见变更")
    private String processorOpinions;

    //(value = "联系方式")
    private String contactInformation;

    //(value = "处理人名字")
    private String processorName;


}
